import { http } from "@/utils/http";

export const getSiteInfoList = (params?: object) => {
  return http.request<any>("get", "/api/siteInfo/selectPage", { params });
};

export const addSiteInfo = (data?: object) => {
  return http.request<any>("post", "/api/siteInfo/add", { data });
};

export const updateSiteInfo = (data?: object) => {
  return http.request<any>("put", "/api/siteInfo/update", { data });
};
export const deleteSiteInfo = (data?: object) => {
  return http.request<any>("delete", "/api/siteInfo/delete", { data });
};

